package com.itools.core.ucenter.em;


import com.itools.core.code.SystemCode;

/**
 * @description:
 * @author: XUCHANG
 * @create: 2021-03-28 15:51
 */
@SystemCode
public class UcenterCodeBean {

    public enum UcenterCode {

        FAIL_SYSTEM("FMSCODE00", "系统内部错误，请联系管理员！"),
        /**
         * 文件系统内部错误
         */
        USERNAME_NOT_FOUND_EXCEPTION("UCODE01", "账号不存在或账号密码错误"),
        FAIL_LOGIN("UCODE02", "用户登录失败"),
        FAIL_USERNAME_PASSWORD("UCODE03", "账号密码未输入"),
        USER_NOT_EXIST("UCODE04", "账号不存在或账号密码错误"),
        ;

        public final String code;
        public final String message;

        UcenterCode(String code, String message) {
            this.code = code;
            this.message = message;
        }

        public String getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }
    }
}
